<?php
require_once 'loaderConfig.php';
require_once 'setInitParam.php';
require_once 'controllerFront.php';

/** 
 * appBootStrap
 * @author    Soochow University
 * @version   1.0
 * @exclude   作  成  日：2011/04/07
 */
class appBootStrap{
    
    /**
     * loaderConfig
     */
    public static  function loaderConfig(){

        loaderConfig::loaderBefore();

        loaderConfig::loadering();

        loaderConfig::loaderAfter();
    }
    
    /**
     * setInitParam
     */
    public static function setInitParam(){
        setInitParam::setDefaultTheme();
    }
    
    /**
     * setControllerFront
     */
    public static function setControllerFront(){
        $controllerFront = new controllerFront();

        $controllerFront->moduleDirectory();

        $controllerFront->setViewRenderer();

        $controllerFront->dispatch();
    }
}